package com.ruoyi.project.product.attr.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 属性模板对象 product_attr_key
 * 
 * @author wyh
 * @date 2024-08-05
 */
public class ProductAttrKey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 序号 */
    @Excel(name = "序号")
    private Long no;

    /** 属性值信息 */
    private List<ProductAttrValue> productAttrValueList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNo(Long no) 
    {
        this.no = no;
    }

    public Long getNo() 
    {
        return no;
    }

    public List<ProductAttrValue> getProductAttrValueList()
    {
        return productAttrValueList;
    }

    public void setProductAttrValueList(List<ProductAttrValue> productAttrValueList)
    {
        this.productAttrValueList = productAttrValueList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("no", getNo())
            .append("productAttrValueList", getProductAttrValueList())
            .toString();
    }
}
